package com.example.yangqing.weexlearndemoandroid;

import android.app.Application;

import com.example.yangqing.weexlearndemoandroid.weex.ImageAdapter;
import com.taobao.weex.InitConfig;
import com.taobao.weex.WXSDKEngine;

/**
 * Created by yangqing on 2018/1/2.
 */

public class BaseApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        InitConfig config=new InitConfig.Builder().setImgAdapter(new ImageAdapter()).build();
        WXSDKEngine.initialize(this,config);
    }
}
